package com.sap.mall.order.to;

import lombok.Data;
import com.sap.mall.order.entity.OrderEntity;
import com.sap.mall.order.entity.OrderItemEntity;

import java.util.List;
import java.math.BigDecimal;

@Data
public class OrderCreateTo {

    private OrderEntity order;

    private List<OrderItemEntity> orderItems;

    private BigDecimal payPrice; // 订单计算的应付价格

    private BigDecimal fare; // 运费
}
